package com.yvdedu.hospital.entity;

public class Prescription {
	private int id;
	private String diagnosis;
	private String allergy;
	private double amount;
	private int charge;
	private int pills;
	@Override
	public String toString() {
		return "Prescription [id=" + id + ", diagnosis=" + diagnosis + ", allergy=" + allergy + ", amount=" + amount
				+ ", charge=" + charge + ", pills=" + pills + "]";
	}
	public Prescription() {
		super();
	}
	public Prescription(String diagnosis, String allergy, double amount, int charge, int pills) {
		super();
		this.diagnosis = diagnosis;
		this.allergy = allergy;
		this.amount = amount;
		this.charge = charge;
		this.pills = pills;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getDiagnosis() {
		return diagnosis;
	}
	public void setDiagnosis(String diagnosis) {
		this.diagnosis = diagnosis;
	}
	public String getAllergy() {
		return allergy;
	}
	public void setAllergy(String allergy) {
		this.allergy = allergy;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
	public int getCharge() {
		return charge;
	}
	public void setCharge(int charge) {
		this.charge = charge;
	}
	public int getPills() {
		return pills;
	}
	public void setPills(int pills) {
		this.pills = pills;
	}
	

}
